package com.uduew.sjd.message;

public class Messages {
    public final static int EVENT_LOGIN_SUCCESS = 1;//登录成功
    public final static int EVENT_APPLY_SUCCESS = 2;//申请成功
    public final static int EVENT_CERTIFICATION_SUCCESS = 3;//认证成功
    public final static int EVENT_SET_BANK_DEF = 4;//设置默认银行卡
    public final static int EVENT_ADD_BANK_SUCCESS = 5;//添加银行卡成功
    public final static int EVENT_LOGIN_OUT_SUCCESS = 6;//登出成功
    public final static int EVENT_TAKE_PIC_SUCCESS = 7;//OCR拍照成功
    public final static int EVENT_SELECT_HOME = 8;
    public final static int EVENT_SELECT_BACK = 12;
    public final static int EVENT_REFRESH_HOME = 9;//首页刷新
    public final static int EVENT_UPDATE_SUCCESS = 10;//更新

    public final static int EVENT_UPDATE_PRODUCT = 11;//更新

    public final static int EVENT_BANK_BACK = 12;

    public final static int EVENT_SUBMIT_INFO = 13;

    public final static int EVENT_LOAN_FRAGMENT_CLOSE = 14;

    public final static int EVENT_INIT_MAIN = 15;

    public final int eventId;
    public final String str1;
    public final String str2;

    public Messages(int eventId, String str1, String str2) {
        this.eventId = eventId;
        this.str2 = str2;
        this.str1 = str1;
    }

    public Messages(int eventId) {
        this.eventId = eventId;
        this.str1 = "";
        this.str2 = "";
    }
}
